Network device, network device control method, and storage medium

ABSTRACT

A network device is available to communicate with an external server managing a combination of an address of a device and identification information identifying the device. The network device selects an address to be registered on the external server from multiple addresses corresponding to the network device and registers the selected address on the external server along with identification information identifying the network device.

BACKGROUND OF THE INVENTION Field of the Invention

The present invention relates to a network device that is connected toand communicates with a network, a network device control method,software program, and storage medium.

Description of the Related Art

In order to enhance the ease of use of network devices in the process ofnetwork communications, there have been proposed systems in which eachnetwork device registers, on a DNS server, a combination of the device'sown IP addresses and host names identifying itself. Thus, a proposalaimed at improving the ease of use by registering a combination of IPaddresses and host names on a DNS server has been disclosed, forinstance, in Japanese Patent Laid-Open No. 2004-350133, which isdescribed below. In the invention disclosed in this document, a secondnetwork device that intends to communicate with a first network deviceonly needs to consider the host name of the first network device.Specifying host names for the first network devices makes it possible toacquire the IP addresses of the first network devices from the DNSserver and initiate communication using the IP addresses.

However, the conventional technology did not allow users to select theIP addresses registered by network devices on a DNS server. Thus, allthe IP addresses belonging to a network device were registered on theDNS server and mapped to host names.

It is contemplated that in the future the spread of IPv6 (InternetProtocol version 6) will lead to an environment in which a singlenetwork device will have multiple IP addresses. In such a case, the needto map all the IPv6 addresses the device has to host names will notnecessarily arise.

For instance, IPv6 link-local addresses are not suitable for use in widearea networks (WANs). Accordingly, users are sometimes reluctant topermit access to their IPv6 link-local addresses. Nevertheless, if anIPv6 link-local address is mapped to a host name, the IPv6 link-localaddress may sometimes be acquired when another network device uses thehost name to acquire IP addresses. As a result, other network devicesend up attempting to access the network device using the IPv6 link-localaddress.

Furthermore, it is contemplated that in the future security technologywill develop and operation will sometimes be carried out in such amanner that a part of communications will be disconnected. For example,when communication utilizing a specific IP address is disconnected, if acommunication partner acquires the specific IP address from the DNSserver and attempts to establish communication using that specific IPaddress, unnecessary processing is carried out. Namely, notwithstandingthe attempts at communication with the IP address resolved from the hostname, the packets will end up being discarded.

SUMMARY OF THE INVENTION

In view of the above, it is desirable to permit selection of addressesto be registered on an external server from among multiple addressesbelonging to a network device. It is an object of the present inventionto permit prevention of registration of specific addresses on anexternal server by permitting selection of addresses to be registered onthe external server.

According to one aspect of the present invention, there is provided anetwork device configured to communicate with an external servermanaging a combination of an address of a device and identificationinformation identifying the device, comprising selecting meansconfigured to select an address to be registered on the external serverfrom a plurality of addresses corresponding to the network device, andregistering means configured to register the address selected by theselecting means on the external server along with identificationinformation identifying the network device.

According to a second aspect of the present invention, there is provideda control method for a network device configured to communicate with anexternal server managing a combination of an address of a device andidentification information identifying the device, comprising the stepsof selecting an address to be registered on the external server from aplurality of addresses corresponding to the network device, andregistering the address selected in the selecting step on the externalserver along with the identification information identifying the networkdevice.

The present invention makes it possible to avoid registration ofspecific addresses when a network device registers addresses on anexternal server.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments with reference to theattached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram, in which a network device according to anembodiment of the present invention, that is, an MFP (multi-functionperipheral) provided with a network connection, is connected to theInternet.

FIG. 2 is a block diagram illustrating the hardware configuration of anMFP (multi-function peripheral) according to an embodiment of thepresent invention.

FIG. 3 is a block diagram illustrating a DNS server and a communicationterminal according to an embodiment of the present invention.

FIG. 4 is a conceptual block diagram illustrating the softwareconfiguration concept of an MFP (multi-function peripheral) according toan embodiment of the present invention.

FIG. 5 is a diagram illustrating an example of a GUI (graphic userinterface) screen displayed on the display unit of an MFP(multi-function peripheral) according to an embodiment of the presentinvention.

FIG. 6 is a diagram illustrating the DNS processing sequence of an MFP(multi-function peripheral) to which an embodiment of the presentinvention is not applied in the network environment of FIG. 1 in asituation, where communication has not been established.

FIG. 7 is a flow chart describing operations taking place during addressregistration on a DNS server by an MFP (multi-function peripheral)according to an embodiment of the present invention. The processingshown in the flow chart of FIG. 7 is performed by CPU 202 in MFP 101.

FIG. 8 is a diagram illustrating the DNS processing sequence of an MFP(multi-function peripheral) according to an embodiment of the presentinvention in the network environment of FIG. 1.

FIG. 9 is a GUI screen view illustrating a GUI screen serving as a userinterface configured during selection of address scopes communicated toa DNS server by an MFP (multi-function peripheral) according to anembodiment of the present invention.

FIG. 10 is a diagram describing operation during address registration onanother DNS server by an MFP (multi-function peripheral) according to anembodiment of the present invention.

FIG. 11 is a GUI screen view illustrating a user interface configuredduring selection of address scopes communicated to a DNS server by anMFP (multi-function peripheral) according to an embodiment of thepresent invention.

FIGS. 12A and 12B are GUI screen views showing a user interface allowingan MFP (multi-function peripheral) with multiple host names according toan embodiment of the present invention to select address scopes to beregistered on a DNS server separately for each host name.

DESCRIPTION OF THE EMBODIMENTS

Below, detailed explanations are provided with reference to the attacheddrawings regarding a network device according to an embodiment of thepresent invention. FIG. 1 is a schematic diagram, in which a networkdevice according to an embodiment of the present invention, that is, anMFP (multi-function peripheral) provided with a network connection, isconnected to the Internet.

An MFP (101) capable of connecting to the Internet, provides networkprinting services and network scanning services to other network devicesthrough a network, 100. Furthermore, the MFP 101 is connected to anothernetwork 104 via a router 105 and provides network printing services andnetwork scanning services to other network devices connected to theother network 104.

The following four address scopes are available for use by the MFP 101in order to perform IPv6-based communication on the network 100 and onthe other network 104.

An IPv6 stateless address 108, an IPv6 manually set address 109, an IPv6stateful address 110, and an IPv6 link-local address 111.

In addition to the above-mentioned addresses, a host name 112, isassigned to the MFP 101 in order to identify the MFP 101.

A DNS server 102, which is connected to the network 100, maps the IPaddresses and host names of network devices residing on the network 100.

A communication terminal 103, which is a network device, is ageneral-purpose personal computer communicating with the MFP 101 byconnecting to the network 100, and is capable of utilizing thefunctionality (services) offered by the MFP 101.

In addition, a DNS server 106, which is connected to the other network104, maps the IP addresses and host names of the network devicesresiding on the other network 104.

A communication terminal 107, which is a network device, is ageneral-purpose personal computer, as the communication terminal 103.The communication terminal 107 is connected to the other network 104,and, furthermore, communicates with the MFP 101 via the router 105 andis capable of utilizing the functionality (services) offered by the MFP101.

In the network system configuration illustrated in FIG. 1, the MFP 101registers its own device's host name and IPv6 addresses on the DNSserver 102 connected to the network 100 and on the DNS server 106connected to the other network 104. At such time, the user of the MFP101 can select the device's IP addresses registered on the DNS server102 and on the DNS server 106 by appropriately using the user interface.

It should be noted that in the present embodiment the MFP 101 isconfigured in the following manner. It should be noted that thisconfiguration is used for the purpose of explaining the embodiment andit is not implied that that such a configuration has to be used.

Due to network security considerations, a) the MFP 101 does not receivepackets addressed to its own device's IPv6 link-local address, and b)its own device's IPv6 manually set address is an address that can beused only on the network 100. The MFP 101 does not receive packets sentfrom networks other than the network 100 to its own device's IPv6manually set address.

The communication terminal 103 connected to the network 100 accesses theDNS server 102, specifies the host name of the MFP 101, and acquires theIPv6 addresses of the MFP 101. In addition, the communication terminal107 connected to the network 104 accesses the DNS server 106, specifiesthe host name of the MFP 101, and acquires the IPv6 addresses of the MFP101.

FIG. 2 is a block diagram schematically illustrating the hardwareconfiguration of the MFP 101 according to the first embodiment of thepresent invention. In FIG. 2, a scanner I/F control section 201 controlsa scanner 213. In addition, a printer I/F controller 206 controls aprinter 212.

A CPU 202 executes a software program for controlling the printer 212and scanner 213, etc., and controls the entire MFP 101. A ROM 203, whichis a read-only memory, stores fixed parameters, programs controlling thescanner 213, the printer 212, and the boot program of the MFP 101, etc.

A RAM 204 is a random-access memory used for the storage of temporarydata etc. when the CPU 202 controls the MFP 101. A HDD 205 is a harddisk drive used for the storage of various data, such as for the storageof print data, etc. An NVRAM 207 is a non-volatile memory used forstoring various set values for the printer 212, scanner 213, etc. Itshould be noted that address information describing the multiple IPaddresses allocated to the MFP 101 is stored in the NVRAM 207 and HDD205.

A panel controller 208, controls an operating panel 214, which isprovided with an LCD display unit 215, and controls the display ofvarious information items and input of instructions by the user. Anetwork I/F controller 209 controls transmission and reception of datato/from the network 100. The scanner I/F control section 201, CPU 202,ROM 203, RAM 204, HDD 205, printer I/F controller 206, NVRAM 207, panelcontroller 208, and network I/F controller 209, etc. are interconnectedby a bus 210. In other words, this is a system bus used for sending andreceiving control signals from the CPU 202 and data signals between thevarious units.

FIG. 3 is a basic hardware configuration chart of the DNS servers 102and 106 and communication terminals 103 and 107. These aregeneral-purpose servers and computer systems based on general-purposepersonal computers. As shown in FIG. 3, they have the followingconfiguration. Namely, a CPU (Central Processing Unit) 301 is providedfor use as a computing unit. Moreover, a RAM (Random Access Memory) 302,a ROM (Read Only Memory) 303, and a HDD (Hard Disk Drive) 304 areprovided as storage units. In addition, a CD-ROM (Compact Disk Read-OnlyMemory) drive 305 is provided as an external storage unit. Also, a NIC(Network Interface Card) 306 and a USB (Universal Serial Bus) interface307 are provided as external interfaces. A bus 308 is provided forinterconnecting these hardware devices and peripheral devices. Inaddition, a mouse 309 and a keyboard 310 are connected to the main bodyof the system as peripheral equipment via an input interface 311.Furthermore, an LCD display 312 is connected through a display interface313.

Software used on these devices includes an OS (Operating System), withserver software, word processing, spreadsheet, and e-mail software, etc.installed depending on the intended use. The OS is provided with a portmonitor, whose function is to transmit print data to a printer (notshown) and MFP 101 through the networks, that is, the networks 100 and104. As a matter of course, the communication terminals 103 and 107 arecapable of IPv6-based communication.

FIG. 4 is a conceptual block diagram illustrating the softwareconfiguration concept of the MFP 101 according to an embodiment of thepresent invention. In FIG. 4, a user interface controller 401 is amodule controlling functions related to user operations. This modulecontrols the panel controller 208 and manages output to/input from theuser utilizing the operating panel 214 provided with the LCD displayunit 215.

A DNS controller 402 is a module exercising DNS and dynamic DNS protocolcontrol based on data input by the user. A network communication driver404 controls the network I/F controller 209 and exercises control overtransmission and reception of data with the network 100. A TCP/IPprotocol controller 403 is provided with a module controlling the TCP/IPprotocol and uses the network communication driver 404 to exercisecontrol over the transmission and reception of data based on the TCP/IPprotocol.

FIG. 5 is an exemplary setup screen for the GUI (graphic user interface)displayed on the LCD display unit 215 of the MFP 101 in the presentembodiment. The GUI of FIG. 5 is provided with images for the followingbuttons.

Buttons 500, which are used to issue instructions to enable or disabledynamic updates in the dynamic DNS function; buttons 501, which are usedto issue instructions as to whether to register the its own device'sIPv6 stateless address on the specified DNS server when dynamic updatesin the dynamic DNS function are enabled; buttons 502, which are used toissue instructions as to whether to register the its own device's IPv6manually set address on the specified DNS server when dynamic updates inthe dynamic DNS function are enabled; buttons 503, which are used toissue instructions as to whether to register the its own device's IPv6stateful address on the specified DNS server when dynamic updates in thedynamic DNS function are enabled, and buttons 504, which are used toissue instructions as to whether to register the its own device's IPv6link-local address on the specified DNS server when dynamic updates inthe dynamic DNS function are enabled.

The “ON” buttons illustrated in FIG. 5 are used to issue instructions toregister address scopes corresponding to the buttons on the DNS server,and the “OFF” buttons are used to issue instructions not to register theaddress scopes corresponding to the buttons on the DNS server. Hatchingis applied to disabled buttons. Based on instructions from enabledbuttons, the MFP 101 selects the address scopes, for which the “ON”buttons are enabled, as the address scopes to be registered on the DNSserver.

A touch panel (not shown), which is incorporated into the LCD displayunit 215, is configured to permit entry by pressing the buttons on theGUI with a finger. Quite naturally, it does not need to be a touch panelarrangement, and keys, or a trackball, etc. provided on the operatingpanel 214 can be used for effecting cursor movement and entry using thedesired buttons.

FIG. 6 shows the DNS processing sequence used in the network systemenvironment illustrated in FIG. 1. This illustrates the operation of theMFP 101, DNS server 102, and communication terminal 103 in a situation,where the MFP 101 registers the IP addresses of all the address scopesit has on the DNS server 102 as its own device's IP addresses.

First of all, in Step S601, the MFP 101 registers the IP addresses ofall the address scopes it has on the DNS server 102 as its own device'sIP addresses.

As previously explained, due to network security considerations, the MFP101 is set up such that it does not receive packets addressed to its owndevice's IPv6 link-local address. In other words, access to the IPv6link-local address 111 is not permitted.

Next, in Step S602, the communication terminal 103 specifies the hostname corresponding to the MFP 101 and requests an IP address list. Then,in Step S603, the DNS server 102 communicates an IP address listincluding the IPv6 link-local address 111 of the MFP 101 to thecommunication terminal 103.

On the communication terminal 103, at least one IP address is selectedfrom the IP address list and an attempt at communication is made in StepS604. For example, an attempt is made to access the IPv6 link-localaddress included in the IP address list communicated by the DNS server102. However, in this case, the MFP 101 ends up refusing that access(Step S605) and the communication terminal 103 cannot communicate withthe MFP 101. Thus, there is a chance that unnecessary communication iscarried out.

FIG. 9 illustrates an example of another setup screen.

The MFP 101 receives packets transmitted to its own device's IPv6stateless address from network devices on the network 100, including thecommunication terminal 103. Therefore, the buttons 501, which are usedto issue instructions as to the registration of its own device's IPv6stateless address on the DNS server 102, have the “ON” button enabled.

The MFP 101 receives packets transmitted to its own device's IPv6manually set address from network devices on the network 100, includingthe communication terminal 103. Therefore, the buttons 502, which areused to issue instructions as to the registration of its own device'sIPv6 manually set address on the DNS server 102, have the “ON” buttonenabled.

The MFP 101 receives packets transmitted to its own device's IPv6stateful address from network devices on the network 100, including thecommunication terminal 103. Therefore, the buttons 503, which are usedto issue instructions as to the registration of its own device's IPv6stateful address on the DNS server 102, have the “ON” button enabled.

However, the MFP 101 does not receive packets transmitted to its owndevice's IPv6 link-local address from network devices on the network100, including the communication terminal 103. Therefore, the buttons504, which are used to issue instructions as to the registration of itsown device's IPv6 link-local address on the DNS server 102, have the“ON” button disabled. It should be noted that, in FIG. 9, hatching isapplied to the disabled buttons.

FIG. 8 illustrates the operation of the MFP 101, DNS server 102, andcommunication terminal 103 in a situation, where the MFP 101 registersthe IP addresses of some of the address scopes on the DNS server 102.Here, the IPv6 link-local address is prevented from being registered onthe DNS server 102.

First of all, in Step S801, the MFP 101 registers IP addresses otherthan those of the IPv6 link-local address on the DNS server 102 as itsown device's IP addresses. Next, in Step S802, the communicationterminal 103 specifies the host name corresponding to the MFP 101 andrequests an IP address list. Then, in Step S803, the DNS server 102communicates an IP address list including the IP addresses of the MFP101 other than the IPv6 link-local address 111 to the communicationterminal 103.

On the communication terminal 103, at least one IP address is selectedfrom the IP address list and an attempt at communication is made in StepS804. For example, an attempt is made to communicate with the IPv6stateless address 108 of the MFP 101 included in the IP address listcommunicated by the DNS server 102. As shown in S805, this initiatescommunication between the MFP 101 and communication terminal 103. Unlikein the example of FIG. 6, the communication terminal 103 is capable ofcommunicating with usable IP addresses. This is due to the fact that theIPv6 link-local address 111, access to which is not permitted by the MFP101, is not registered on the DNS server 102 and only actually usable IPaddresses are communicated to the communication terminal 103.

FIG. 7 shows the flow of processing that takes place when the MFP 101registers IP addresses on the DNS server. In Step S701, the MFP 101displays the setup screen explained in FIG. 5 on the LCD display unit215 controlled by the user interface controller 201. On this setupscreen, the user issues instructions regarding enabling or disabling thedynamic DNS function or selects the address scopes the user intends toregister on the DNS server.

When the OK button is pressed by the user on the setup screen, in StepS702, the MFP 101 determines whether an instruction to enable thedynamic DNS function has been issued. If an instruction to enable thedynamic DNS function has not been issued, in other words, if aninstruction to disable the dynamic DNS function has been issued, theregistration process is terminated because there is no need to registerIP addresses on the DNS server.

On the other hand, if an instruction to enable the dynamic DNS functionis issued, the program proceeds to Step S703 and the MFP 101 reads themultiple address scopes one by one. Then, in Step S704, determination ismade with respect to the read-out address scope so as to determinewhether the address scope has been specified as the address scoperegistered on the DNS server. If it has been specified that the read-outaddress scope is registered on the DNS server, the program proceeds toStep S705 and the MFP 101 registers the IP address belonging to theaddress scope on the DNS server.

On the other hand, if it has not been specified that the read-outaddress scope is registered on the DNS server, the program proceeds toStep S706 without registering the IP address belonging to the addressscope on the DNS server. In other words, the MFP 101 selects theaddresses belonging to the address scopes, for which the “ON” buttonshave been enabled on the setup screen, as addresses to be registered onthe DNS server, and registers the selected addresses on the DNS server.

In Step S706, the MFP 101 determines whether processing of all theaddress scopes is complete. If processing all the address scopes iscomplete, the registration process is terminated. However, if it is notcomplete, the program returns to Step S703 and the next address scope isread out.

The MFP 101 may be provided with a different setup screen for each DNSserver. FIG. 11 illustrates a setup screen corresponding to the DNSserver 106. Here, the IPv6 link-local address 111, access to which isnot permitted by the MFP 101, is not registered on the DNS server 106.Moreover, the IPv6 manually set address 109, which is an address usableonly on the network 100, is not registered on the DNS server 106 either.In this manner, only a list of actually usable IP addresses iscommunicated to the communication terminal 107 and the communicationterminal 107 can communicate with usable IP addresses.

Namely, FIG. 11 is a GUI screen illustrating a user interface used toselect address scopes registered by the MFP 101 on the DNS server 106.In the same manner as in FIG. 9, hatching is applied to disabledbuttons.

The MFP 101 receives packets transmitted to its own device's IPv6stateless address from network devices on the network 104, including thecommunication terminal 107. Therefore, the buttons 501, which are usedto issue instructions as to the registration of its own device's IPv6stateless address on the DNS server 106, have the “ON” button enabled.

The MFP 101 does not receive packets transmitted to its own device'sIPv6 manually set address from network devices on the network 104,including the communication terminal 107. Therefore, the buttons 502,which are used to issue instructions as to the registration of its owndevice's IPv6 manually set address on the DNS server 106, have the “ON”button disabled.

The MFP 101 receives packets transmitted to its own device's IPv6stateful address from network devices on the network 104, including thecommunication terminal 107. Therefore, the buttons 503, which are usedto issue instructions as to the registration of its own device's IPv6stateful address on the DNS server 106, have the “ON” button enabled.

Furthermore, the MFP 101 does not receive packets transmitted to its owndevice's IPv6 link-local address from network devices on the network104, including the communication terminal 107. Therefore, the buttons504, which are used to issue instructions as to the registration of itsown device's IPv6 link-local address on the DNS server 106, have the“ON” button disabled.

FIG. 10 illustrates the operation of the MFP 101, DNS server 106, andcommunication terminal 107 in a situation where the address scopesregistered on the DNS server 106 are selected as shown in FIG. 11.

First of all, in Step S1001, the MFP 101 registers IP addresses otherthan the IPv6 link-local address 111 and IPv6 manually set address 109on the DNS server 106 as its own device's IP addresses.

Next, in Step S1002, the communication terminal 107 specifies the hostname corresponding to the MFP 101 and requests an IP address list. Then,in Step S1003, the DNS server 106 communicates an IP address listincluding the IP addresses of the MFP 101 other than the IPv6 link-localaddress 111 and IPv6 manually set address 109 to the communicationterminal 107.

On the communication terminal 107, at least one IP address is selectedfrom the IP address list and an attempt at communication is made in StepS1004. For example, an attempt is made to communicate with the IPv6stateless address 108 of the MFP 101 included in the IP address listcommunicated by the DNS server 106. As shown in 51005, this initiatescommunication between the MFP 101 and communication terminal 107.

FIGS. 12A and 12B illustrate a case in which a host name different fromthe host name 112 (for instance, host name 1200) is configured for theMFP 101 so that the MFP 101 has multiple host names, and address scopesregistered on the DNS server 102 are selected for each host nameseparately. In other words, FIGS. 12A and 12B show GUI screensillustrating the user interfaces utilized in such a case. In the presentembodiment, mapping is carried out between the host name 112 of the MFP101 and the IPv6 stateless address 108 of the MFP 101. In addition,mapping is performed between the host name 1200 of the MFP 101 and theIPv6 manually set address 109 of the MFP 101.

In FIG. 12A, key 1201 designates a GUI screen illustrating a userinterface used for selecting address scopes, for which mapping to thehost name 112 is performed. Only the IPv6 stateless address is used asthe IP address mapped to the host name 112. Therefore, the button 501,which is used to issue instructions to register its own device's IPv6stateless address on the DNS server 102, is enabled. For the samereason, the button 502, which is used to issue instructions to registerits own device's IPv6 manually set address on the DNS server 102, isdisabled. For the same reason, the button 503, which is used to issueinstructions to register its own device's IPv6 stateful address on theDNS server 102, is disabled. For the same reason, the button 504, whichis used to issue instructions to register its own device's IPv6link-local address on the DNS server 102, is disabled.

In FIG. 12B, 1206 is a GUI screen illustrating a user interface used forselecting address scopes, for which mapping to the host name 1200 isperformed. Only the IPv6 manually set address is used as the IP addressmapped to the host name 1200. Therefore, the button 501, which is usedto issue instructions to register its own device's IPv6 statelessaddress on the DNS server 102, is disabled. For the same reason, thebutton 502, which is used to issue instructions to register its owndevice's IPv6 manually set address on the DNS server 102, is enabled.For the same reason, the button 503, which is used to issue instructionsto register its own device's IPv6 stateful address on the DNS server102, is disabled. For the same reason, the button 504, which is used toissue instructions to register its own device's IPv6 link-local addresson the DNS server 102, is disabled.

The above-described embodiment illustrated a case in which the MFP 101was registered on the DNS servers 102 or 106. However, the invention canbe realized in a similar manner even in cases wherein the IP addressesof the communication terminals 103 and 107 are registered on the DNSservers 102 and 106. In such cases, the GUI screens shown in FIGS. 5, 9,11, and 12A, 12B will be displayed, for example, on the LCD display 312of FIG. 3. Moreover, each button on the GUI screens will be selectedusing the mouse 309 and keyboard 310.

In addition, the object of the present invention can be attained byproviding the system or apparatus with a storage medium storing softwareprogram code implementing the functionality of the above-describedembodiment. Needless to say, it will be attained by reading andexecuting the program code stored on the storage medium by the computer(or CPU, MPU) of the apparatus or system. In such a case, the programcode read from the storage media will implement the functionality of theabove-described embodiment and therefore the storage media, on which theprogram code is stored, will form part of the present invention.

Flexible disks, hard disks, optical disks, magneto-optical disks,CD-ROMs, CD-Rs, magnetic tape, nonvolatile semiconductor memory cards,ROM, and the like can be utilized as the storage media used to supplythe program code. Moreover, the functionality of the above-describedembodiment is sometimes implemented by executing program code read by acomputer.

However, the invention also includes cases in which the functionality ofthe above-described embodiment is implemented when an OS (operatingsystem) or the like running on a computer partially or entirely carriesout actual processing based on the instructions of the program code.

Furthermore, there may be cases in which the program code read from thestorage media is written to memory provided in an expansion boardinserted into a computer or an expansion unit connected to a computer.It goes without saying that the invention also includes cases in which aCPU, or the like provided in the expansion board or expansion unit thenpartially or entirely executes actual processing based on theinstructions of the program code and the functionality of theabove-described embodiment is implemented based on this processing.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2006-232814, filed Aug. 29, 2006, which is hereby incorporated byreference herein in its entirety.

1.-16. (canceled)
 17. A network system comprising: a server having aDomain Name System (DNS) function, configured to manage a host name of acommunication apparatus, the host name being managed associated with anIP address notified from the communication apparatus; and acommunication apparatus to which a plurality of IPv6 addresses areallowed to be set, wherein the communication apparatus notifies theserver of a first IPv6 address from among the plurality of IPv6addresses but does not notify the server of a second IPv6 address fromamong the plurality of IPv6 addresses based on the setting processing ofthe IPv6 address.
 18. A communication apparatus capable of communicatingwith a server which provides a Domain Name System (DNS) function formanaging an IP address associated with a host name, a plurality of IPv6addresses being allowed to be set to the communication apparatus, thecommunication apparatus comprising: at least one controller configuredto function as: a unit configured to notify the server of a first IPv6address from among the plurality of IPv6 addresses but does not notifythe server of a second IPv6 address from among the plurality of IPv6addresses based on the setting processing of the IPv6 address.
 19. Thecommunication apparatus according to claim 18, wherein the second IPv6address is a link local address and the first UPv6 address is an addressdifferent than the link local address.
 20. The communication apparatusaccording to claim 19, wherein the address different than the link localaddress is any one of a stateless address, a manually set address and astateful address.
 21. The communication apparatus according to claim 19,wherein the plurality of IPv6 addresses have different address scopesrespectively.
 22. The communication apparatus according to claim 18,further comprising a display device capable of displaying information,wherein the at least one controller makes the display device display anscreen on which an IPv6 address that is notified to the server fromamong the plurality of IPv6 addresses and an IPv6 address that is notnotified to the server from among the plurality of IPv6 addresses can bedesignated.
 23. The communication apparatus according to claim 22,wherein the first IPv6 address is the IPv6 address that is designated asan IPv6 address to be notified to the server on the screen, and thesecond IPv6 address is the IPv6 address that is designated as an IPv6address not to be notified to the server on the screen.
 24. Thecommunication apparatus according to claim 22, wherein it can bedesignate on the screen whether the automatic notification of the IPv6address to the server is allowed or not based on the setting processingof the IPv6 address.
 25. The communication apparatus according to claim22, wherein it can be designate on the screen whether a dynamic DNSfunction is available or not.
 26. The communication apparatus accordingto claim 22, further comprising a printing device configured to performprinting processing according to print data transmitted from the secondnetwork device.
 27. The communication apparatus according to claim 18,wherein the at least one processor is further configured to reject anincoming packet of which a destination address is an IPv6 addressassociated with the first network device but has not been registered tothe server.
 28. A control method for a communication apparatus capableof communicating with a server which provides a Domain Name System (DNS)function for managing an IP address associated with a host name, aplurality of IPv6 addresses being allowed to be set to the communicationapparatus, the method comprising: notifying the server of a first IPv6address from among the plurality of IPv6 addresses but not notifying theserver of a second IPv6 address from among the plurality of IPv6addresses based on the setting processing of the IPv6 address.
 29. Thecontrol method according to claim 28, wherein the second IPv6 address isa link local address and the first UPv6 address is an address differentthan the link local address.
 30. The control method according to claim28, wherein the address different than the link local address is any oneof a stateless address, a manually set address and a stateful address.31. The control method according to claim 28, wherein the plurality ofIPv6 addresses have different address scopes respectively.
 32. Thecontrol method according to claim 28, wherein the communicationapparatus further comprises a display device capable of displayinginformation, and the method further comprising: making the displaydevice display an screen on which an IPv6 address that is notified tothe server from among the plurality of IPv6 addresses and an IPv6address that is not notified to the server from among the plurality ofIPv6 addresses can be designated.
 33. The control method according toclaim 32, wherein the first IPv6 address is the IPv6 address that isdesignated as an IPv6 address to be notified to the server on thescreen, and the second IPv6 address is the IPv6 address that isdesignated as an IPv6 address not to be notified to the server on thescreen.
 34. The control method according to claim 32, wherein it can bedesignate on the screen whether the automatic notification of the IPv6address to the server is allowed or not based on the setting processingof the IPv6 address.
 35. The control method according to claim 32,wherein it can be designate on the screen whether a dynamic DNS functionis available or not.
 36. The control method according to claim 32,further comprising a printing device configured to perform printingprocessing according to print data transmitted from the second networkdevice.
 37. The communication apparatus according to claim 18, whereinthe at least one processor is further configured to reject an incomingpacket of which a destination address is an IPv6 address associated withthe first network device but has not been registered to the server. 38.A non-transitory computer-readable medium storing a program therein forcausing a computer to perform a control method for a communicationapparatus capable of communicating with a server which provides a DomainName System (DNS) function for managing an IP address associated with ahost name, a plurality of IPv6 addresses being allowed to be set to thecommunication apparatus, the method comprising: notifying the server ofa first IPv6 address from among the plurality of IPv6 addresses but notnotifying the server of a second IPv6 address from among the pluralityof IPv6 addresses based on the setting processing of the IPv6 address.